package com.sright.bcard.content.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.content.dal.entity.FavoriteCardDO;

import java.util.List;

public interface FavoriteCardDAO extends BaseDAO<FavoriteCardDO> {
    Long selectCountByMemberId(Long memberId);

    FavoriteCardDO selectByObject(FavoriteCardDO favoriteCardDO);

    List<FavoriteCardDO> selectPageList(Integer offset, String keywords, Long memberId);

    Integer selectCount(String keywords, Long memberId);
}
